package com.wish.basic.config;

import com.zhenzi.sms.ZhenziSmsClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SmsConfig {

    @Bean
    public ZhenziSmsClient initBean(){
        return new ZhenziSmsClient(SmsConfig.APIURL, SmsConfig.APPID, SmsConfig.APPSECRET);
    }

    //apiUrl为请求地址，个人开发者使用https://sms_developer.zhenzikj.com，企业开发者使用https://sms.zhenzikj.com
    public static String APIURL = "https://sms_developer.zhenzikj.com";

    public static String APPID = "111291";
    public static String APPSECRET = "31e59205-bd96-412c-aed4-3d50824ed27f";
    public static String TEMPLATEID = "8770";


}
